<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

use App\Models\ProductSku;

class ProductSkuFactory extends Factory
{
    protected $model = ProductSku::class;
    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            'title'=>'优惠超划算'.$this->faker->randomNumber(4),
            'price'=>$this->faker->randomNumber(3),
            'stock'=>$this->faker->randomNumber(4),
            'on_sale'=>1,
        ];
    }
}
